@layout("/backend/common/_container.html"){
    <style>
        .dhcc-con .form-group{
            margin-bottom: 0px;
        }
    </style>
<#Layout>
    <#Layout_Left title='查询条件' width='260px'>
    <div class="row row-lg">
        <div class="col-sm-12">
            <div class="dhcc-con dhcc-con-left dhcc-con-boder" style="padding-bottom: 10px;">
                <#SelectCon id="organizationId" name="所属院区" url="/dept/list" key="id" text="name" />
                <#SearchBox id="PatientID" name="患者索引" onEnter="EpisodeIDTable.enter"/>
                <#SearchBox id="EpisodeID" name="就诊ID" onEnter="EpisodeIDTable.enter"/>
                <#SearchBox id="PatName" name="患者姓名" onEnter="EpisodeIDTable.enter"/>
            </div>
            <div class="hidden-xs" id="EpisodeIDTableToolbar" role="group">
                <#Button name="清空" icon="icon-reload" plain="true" clickFun="EpisodeIDTable.clear()" />
            </div>
            <#Table id="EpisodeIDTable" />
        </div>
    </div>    
    </#Layout_Left>
    <#Layout_Center border='false'>
        <#Tabs id="busiDataTabs" title="查询结果">
            <div title="基本信息" data-options="" style="padding:30px 40px;">
                <#PatInfo />
            </div>
            <div title="就诊记录" data-options="" style="padding-top:5px;">
                <#Table id="CdcEpisodeTable"/>
            </div>
            <div title="诊断" data-options="" style="padding-top:5px;">
                <#Table id="CdcDiagnosisTable"/>
            </div>
            <div title="手术" data-options="" style="padding-top:5px;">
                <#Table id="CdcSurgeryTable"/>
            </div>
            <div title="医嘱" data-options="" style="padding-top:5px;">
                <#Table id="CdcOrdexecTable"/>
            </div>
            <div title="检验" data-options="" style="padding-top:5px;">
                js中定义
            </div>
            <div title="检查" data-options="" style="padding-top:5px;">
            </div>

            <div title="电子病历" data-options="" style="padding-top:5px;">
                <#Table id="CdcEmrTable"/>
            </div>
            <div title="护理记录" data-options="" style="padding-top:5px;">

            </div>
            <div title="过敏记录" data-options="" style="padding-top:5px;">

            </div>
            <div title="生命体征" data-options="" style="padding-top:5px;">

            </div>
            <div title="费用" data-options="" style="padding-top:5px;">
                <div style="width: 200px;">
                    <#Table id="CdcExpenseTable"/>
                </div>
                <div>

                </div>
            </div>
            <div title="评估" data-options="" style="padding-top:5px;"></div>
        </#Tabs>
    </#Layout_Center>
</#Layout>
<script src="${ctxPath}/static/backend/cdc/querybypat/qryterm.js"></script>
@}